package com.rc.saas.tenant.mapper.hlht;


import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenfor;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenforExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HlhtTenantOpenforMapper extends BaseMapper<Long, HlhtTenantOpenfor, HlhtTenantOpenforExample> {

    Integer deleteByElecStationIds(@Param("elecStationIds") List<Long> elecStationIds,@Param("tenantCode") String tenantCode,@Param("hlhtTenantCode")  String hlhtTenantCode);

    void updateOpenforStatusByStationIds(@Param("elecStationIds")List<Long> elecStationIds,@Param("hlhtOperatorId") String hlhtOperatorId ,
                                         @Param("openforStatus")String openforStatus);
}